package com.aaa.product.service.imp;

import com.aaa.entity.Product;
import com.aaa.product.dao.ProductDao;
import com.aaa.product.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/11/18 1:12
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class ProductServiceImp implements ProductService {
    @Autowired
    ProductDao productDao;
    @Override
    public Product findById(Long pid) {
        return productDao.selectById(pid);
    }
}